import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '',
      name: 'login',
      component: () => import('@/views/login/LoginVue.vue')
    },
    {
      path: '/index',
      name: 'index',
      component: () => import('@/views/home/IndexVue.vue'),
      children: [
        {
          path: '',
          name: 'dashboard',
          component: () => import('@/views/home/components/DashboardPage.vue'),
        },
        // {
        //   path: '/user-info',
        //   name: 'user-info',
        //   component: () => import('@/views/home/components/UserInfoPage.vue'),
        // },
        // {
        //   path: '/course',
        //   name: 'course',
        //   component: () => import('@/views/home/components/CoursePage.vue'),
        // },
        {
          path: '/t1',
          name: 'T1',
          component: () => import('@/views/test/T1.vue')
        },
        {
          path: '/test2',
          name: 'T2',
          component: () => import('@/views/test/T2.vue')
        },
        {
          path: '/test3',
          name: 'T3',
          component: () => import('@/views/test/T3.vue')
        },
        {
          path: '/gis01',
          name: 'gis01',
          component: () => import('@/views/test/map01.vue')
        },
        // {
        //   path: '/MyLRF',
        //   name: 'MyLRF',
        //   component: () => import('@/views/LRF2007/MyLRF.vue')
        // },       


        {
          path: '/DEM2010',
          name: 'DEM2010',
          component: () => import('@/views/2010/DEM2010.vue')
        },
        {
          path: '/DEM2020',
          name: 'DEM2020',
          component: () => import('@/views/2020/DEM2020.vue')
        },
        {
          path: '/PH2010',
          name: 'PH2010',
          component: () => import('@/views/2010/PH2010.vue')
        },
        {
          path: '/PH2020',
          name: 'PH2020',
          component: () => import('@/views/2020/PH2020.vue')
        },
        {
          path: '/SOCD2010',
          name: 'SOCD2010',
          component: () => import('@/views/2010/SOCD2010.vue')
        },
        {
          path: '/SOCD2020',
          name: 'SOCD2020',
          component: () => import('@/views/2020/SOCD2020.vue')
        },

        {
          path: '/CONTIG2010',
          name: 'CONTIG2010',
          component: () => import('@/views/2010/CONTIG2010.vue')
        },
        {
          path: '/CONTIG2020',
          name: 'CONTIG2020',
          component: () => import('@/views/2020/CONTIG2020.vue')
        },
        {
          path: '/IGCI2010',
          name: 'IGCI2010',
          component: () => import('@/views/2010/IGCI2010.vue')
        },
        {
          path: '/IGCI2020',
          name: 'IGCI2020',
          component: () => import('@/views/2020/IGCI2020.vue')
        },
        {
          path: '/TRZD2010',
          name: 'TRZD2010',
          component: () => import('@/views/2010/TRZD2010.vue')
        },
        {
          path: '/TRZD2020',
          name: 'TRZD2020',
          component: () => import('@/views/2020/TRZD2020.vue')
        },
        {
          path: '/GLS2010',
          name: 'GLS2010',
          component: () => import('@/views/2010/GLS2010.vue')
        },

        {
          path: '/GLS2020',
          name: 'GLS2020',
          component: () => import('@/views/2020/GLS2020.vue')
        },
        {
          path: '/WDLS2010',
          name: 'WDLS2010',
          component: () => import('@/views/2010/WDLS2010.vue')
        },
        // {
        //   path: '/2017GSRKSL',
        //   name: '2017GSRKSL',
        //   component: () => import('@/views/2020/2017GSRKSL.vue')
        // },
        // {
        //   path: '/2017RDFX',
        //   name: '2017RDFX',
        //   component: () => import('@/views/2010/2017RDFX.vue')
        // },
        // {
        //   path: '/2017RJLRF1',
        //   name: '2017RJLRF',
        //   component: () => import('@/views/2020/2017RJLRF1.vue')
        // },
        // {
        //   path: '/2017ZLRF',
        //   name: '2017ZLRF',
        //   component: () => import('@/views/2017/2017ZLRF.vue')
        // },


        // {
        //   path: '/2022CXLRFDB',
        //   name: '2022CXLRFDB',
        //   component: () => import('@/views/2022/2022CXLRFDB.vue')
        // },
        // {
        //   path: '/2022CXRKJG',
        //   name: '2022CXRKJG',
        //   component: () => import('@/views/2022/2022CXRKJG.vue')
        // },
        // {
        //   path: '/2022GSRKSL',
        //   name: '2022GSRKSL',
        //   component: () => import('@/views/2022/2022GSRKSL.vue')
        // },
        // {
        //   path: '/2022RDFX',
        //   name: '2022RDFX',
        //   component: () => import('@/views/2022/2022RDFX.vue')
        // },
        // {
        //   path: '/2022RJLRF',
        //   name: '2022RJLRF',
        //   component: () => import('@/views/2022/2022RJLRF.vue')
        // },
        // {
        //   path: '/2022ZLRF',
        //   name: '2022ZLRF',
        //   component: () => import('@/views/2022/2022ZLRF.vue')
        // },


        // {
        //   path: '/BZMJ',
        //   name: 'BZMJ',
        //   component: () => import('@/views/HeNan/BZMJ.vue')
        // },
        // {
        //   path: '/BZQK',
        //   name: 'BZQK',
        //   component: () => import('@/views/HeNan/BZQK.vue')
        // },        
        // {
        //   path: '/CXRJSWXFL',
        //   name: 'CXRJSWXFL',
        //   component: () => import('@/views/HeNan/CXRJSWXFL.vue')
        // },
        // {
        //   path: '/CZDWXSWXFL',
        //   name: 'CZDWXSWXFL',
        //   component: () => import('@/views/HeNan/CZDWXSWXFL.vue')
        // },
        // {
        //   path: '/CZDZWSWXFL',
        //   name: 'CZDZWSWXFL',
        //   component: () => import('@/views/HeNan/CZDZWSWXFL.vue')
        // },
        // {
        //   path: '/CZZWXSWXFL',
        //   name: 'CZZWXSWXFL',
        //   component: () => import('@/views/HeNan/CZZWXSWXFL.vue')
        // },
        // {
        //   path: '/GSGDJG',
        //   name: 'GSGDJG',
        //   component: () => import('@/views/HeNan/GSGDJG.vue')
        // },
        // {
        //   path: '/GSGDMJ',
        //   name: 'GSGDMJ',
        //   component: () => import('@/views/HeNan/GSGDMJ.vue')
        // },
        // {
        //   path: '/NCDWXSWXFL',
        //   name: 'NCDWXSWXFL',
        //   component: () => import('@/views/HeNan/NCDWXSWXFL.vue')
        // },
        // {
        //   path: '/NCDZWSWXFL',
        //   name: 'NCDZWSWXFL',
        //   component: () => import('@/views/HeNan/NCDZWSWXFL.vue')
        // },
        // {
        //   path: '/NCZWXSWXFL',
        //   name: 'NCZWXSWXFL',
        //   component: () => import('@/views/HeNan/NCZWXSWXFL.vue')
        // },
        {
          path: '/NAX',
          name: 'NAX',
          component: () => import('@/views/JiLin/NAX.vue')
        }
        
      ]
    },
    
  ]
})

export default router
